package com.project.demo.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 民宿餐饮：(HomestayAndCatering)表实体类
 *
 */
@TableName("`homestay_and_catering`")
@Data
@EqualsAndHashCode(callSuper = false)
public class HomestayAndCatering implements Serializable {

    // HomestayAndCatering编号
    @TableId(value = "homestay_and_catering_id", type = IdType.AUTO)
    private Integer homestay_and_catering_id;

    // 商家用户
    @TableField(value = "`merchant_users`")
    private Integer merchant_users;
    // 商家姓名
    @TableField(value = "`merchant_name`")
    private String merchant_name;
    // 民宿名称
    @TableField(value = "`name_of_homestay`")
    private String name_of_homestay;
    // 美食名称
    @TableField(value = "`food_name`")
    private String food_name;
    // 美食口味
    @TableField(value = "`delicious_taste`")
    private String delicious_taste;
    // 美食价格
    @TableField(value = "`food_prices`")
    private Double food_prices;
    // 美食图片
    @TableField(value = "`food_pictures`")
    private String food_pictures;
    // 美食简介
    @TableField(value = "`food_introduction`")
    private String food_introduction;


    // 点赞数
    @TableField(value = "praise_len")
    private Integer praise_len;

    // 收藏数
    @TableField(value = "collect_len")
    private Integer collect_len;

    // 评论数
    @TableField(value = "comment_len")
    private Integer comment_len;















		// 购买限制次数
	@TableField(value = "catering_orders_limit_times")
	private String catering_orders_limit_times;
	
					


	// 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;

}
